package com.smarttest.main

import android.arch.lifecycle.ViewModel
import io.reactivex.Observable
import okhttp3.ResponseBody
import org.jetbrains.anko.AnkoLogger

class MainViewModel(private val repository: MainRepository) : ViewModel(), AnkoLogger {
    fun login(): Observable<ResponseBody> {
        return repository.login()
    }
}